package gameobjects
{
	import assets.Globals;
	import assets.Images;
	
	import flash.display.Sprite;
	
	import gameobjects.icons.IconTower;
	
	public class MenuBar extends Sprite
	{
		
		public function MenuBar()
		{
			super();
			draw();
		}
			
		public function draw():void
		{
			/*
			Images.menuimage1.y = Globals.SCREEN_HEIGHT+10;
			Images.menuimage1.x = Globals.SCREEN_WIDTH-96;
			addChild(Images.menuimage1);
			*/
			
			var icon1:IconTower = new IconTower(1);
			icon1.x = Globals.SCREEN_WIDTH - 96;
			icon1.y = Globals.SCREEN_HEIGHT + 10;
			addChild(icon1);
			
			
			var icon2:IconTower = new IconTower(2);
			icon2.x = Globals.SCREEN_WIDTH-55
			icon2.y = Globals.SCREEN_HEIGHT+10;
			addChild(icon2);
			
		}
		
		public function spriteOver():void
		{
			
		}
	}
}